//
//  GRRiceOrderModel.h
//  YC_GRice
//
//  Created by luojinrong11 on 2018/9/7.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GRRiceOrderModel : NSObject
@property(nonatomic,strong)NSArray * buyNotice;//购买须知
@property(nonatomic,copy)NSString * cancelAt;//取消时间
@property(nonatomic,copy)NSString * code;//验证码
@property(nonatomic,assign)CGFloat costPoint;//花费积分
@property(nonatomic,copy)NSString * createAt;
@property(nonatomic,copy)NSString * createAtStr;
@property(nonatomic,assign)CGFloat deductionMone;//积分抵扣金额(元
@property(nonatomic,strong)NSArray * discountDetail;
@property(nonatomic,assign)NSInteger discountId;//店铺优惠id
@property(nonatomic,assign)CGFloat discountPrice;
@property(nonatomic,assign)NSInteger  id;//订单id
@property(nonatomic,assign)BOOL isComment;//是否能评价,true才能评价
@property(nonatomic,assign)BOOL isTimeOut;//是否取消
@property(nonatomic,copy)NSString * mainPhoto;//优惠主图
@property(nonatomic,copy)NSString * mobile;//手机号
@property(nonatomic,copy)NSString * num;//订单号
@property(nonatomic,assign)NSInteger number;//购买数量
@property(nonatomic,copy)NSString * onePayName ;//店铺名称
@property(nonatomic,copy)NSString * paidAt;//支付时间
@property(nonatomic,assign)CGFloat payMoney;//支付金额(元)
@property(nonatomic,copy)NSString * payType;//支付类型(wechat=微信支付 alipay=支付宝支付 point=积分支付)
@property(nonatomic,assign)NSInteger profileOnePayId;//一码付店铺ID
@property(nonatomic,copy)NSString * qrCode;// 二维码链接
@property(nonatomic,assign)BOOL qrCodeExpired;//二维码，验证码是否可用，true才能用
@property(nonatomic,copy)NSString * refundAt;//退款时间
@property(nonatomic,copy)NSString * state;
@property(nonatomic,copy)NSString * stateStr;//pay=待支付 use=可使用 complete=已消费 refund=退款 expired=过期 cancel=取消
@property(nonatomic,copy)NSString * title ;//标题
@property(nonatomic,assign)CGFloat totalMoney;// 总金额(元)
@property(nonatomic,assign)CGFloat totalPrice;//商品总价
@property(nonatomic,copy)NSString * updateAt;//更新时间
@property(nonatomic,copy)NSString * useAt;//使用时间
@property(nonatomic,copy)NSString * validAt;//有效时间
@property(nonatomic,copy)NSString * validAtStr;//有效时间字符串
@property(nonatomic,copy)NSArray * cancelReason;
@property(nonatomic,strong)NSString * goodsEvaluate;
@property(nonatomic,strong)NSMutableArray* goodsEvaluateImg;
@property(nonatomic,assign)NSInteger goodsStarGrade;

-(CGFloat)getCellHeightWith:(NSString *)cellIdetifier;


@end
